package com.lp.biz.content.mapper;

import com.lp.biz.content.model.entity.BizCourseChapter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lp.biz.content.model.vo.ChapterList;

import java.util.List;

/**
 * BizCourseChapterMapper 接口
 * @program: backend
 * @author Ke.Song
 * @since 2024-08-11 23:21:57
 */
public interface BizCourseChapterMapper extends BaseMapper<BizCourseChapter> {

    /**
     * 获取章节列表
     * @param courseId 课程id
     * @return 查询结果
     */
    List<ChapterList> getChapterList(Integer courseId);

}
